package com.macro.mall.service;

import com.macro.mall.common.api.CommonResult;
import com.macro.mall.dto.Agent;
import com.macro.mall.dto.AgentRequest;

import java.util.List;

/**
 * @author HuangZiy
 * @version 8.0
 * @date 2021/4/26 22:43
 */
public interface AgentService {
    CommonResult<List<Agent>> getAgent(AgentRequest request);

    CommonResult<String> addAgent(AgentRequest request);

    CommonResult<String> updateAgent(AgentRequest request);

    CommonResult<String> deleteAgent(Integer id);
}
